﻿<%@ Page Title="Editar Matricula" Language="C#" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeBehind="Matricula_Editar.aspx.cs" Inherits="ProjetoJornada.Interno.Matricula_Editar" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script src="../javascript/menu_dropdown.js" type="text/javascript"></script>

    <link href="../CSS/cadastro.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .style1
        {
            width: 151px;
        }
        .style2
        {
            width: 202px;
        }
        .style3
        {
            width: 12px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <table id="formulario" style="width: 100%;">
        <tr>
            <td colspan="2" align="left">
                <asp:Label ID="lblMensagem" ForeColor="Red" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="2">
            </td>
        </tr>
        <tr>
            <td colspan="2" align="left">
                <strong>Editar matricula</strong>
                <br />
                <br />
            </td>
        </tr>
        <tr>
            <td class="style3">
                <asp:Label ID="Label2" AssociatedControlID="txtCpf" runat="server" Text="CPF"></asp:Label>
            </td>
            <td class="style2">
                <asp:TextBox ID="txtCpf" runat="server" TabIndex="2" Enabled="false"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style3">
                <asp:Label ID="Label1" AssociatedControlID="txtTurma" runat="server" Text="Turma" Enabled="false"></asp:Label>
            </td> 
            <td class="style2">
                <asp:TextBox ID="txtTurma" runat="server" TabIndex="2" Enabled="false"></asp:TextBox>
            </td>
        </tr>
         <tr>
            <td class="style3">
                <asp:Label ID="Label3" AssociatedControlID="ddlDesconto" runat="server" Text="Desconto"></asp:Label>
            </td>
            <td class="style2">
                <asp:DropDownList ID="ddlDesconto" runat="server" Width="130px" AutoPostBack="true" 
                    onselectedindexchanged="ddlDesconto_SelectedIndexChanged">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="style3" style="text-align:left;">
                <asp:Label Width="100px" ID="Label4" AssociatedControlID="txtCusto" runat="server" Text="Custo"></asp:Label>
            </td>
            <td class="style2">
                <asp:TextBox ID="txtCusto" Enabled="false" runat="server" TabIndex="2"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style3" style="text-align:left;">
                <asp:Label Width="100px" ID="Label6" AssociatedControlID="txtValorDesconto" runat="server" Text="Valor do Desconto"></asp:Label>
            </td>
            <td class="style2">
                <asp:TextBox ID="txtValorDesconto" Enabled="false" runat="server" TabIndex="2"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style3" style="text-align:left;">
                <asp:Label Width="100px" ID="Label7" runat="server" AssociatedControlID="txtValorFinal" Text="Valor Final"></asp:Label>
            </td>
            <td class="style2">
                <asp:TextBox ID="txtValorFinal" Enabled="false" runat="server" TabIndex="2"></asp:TextBox>
            </td>
        </tr>
      
         <tr>
            <td class="style3" style="text-align:left;">
                <asp:Label Width="100px" AssociatedControlID="txtValor" ID="Label5" runat="server" Text="Valor pago"></asp:Label>
            </td>
            <td class="style2">
                <asp:TextBox ID="txtValor" runat="server" TabIndex="2"></asp:TextBox>
            </td>
        </tr>
       
       
        <tr>
            <td class="style3">
                &nbsp;
            </td>
            <td class="style2">
                <asp:ImageButton ID="ibtnEditar" ImageUrl="~/imagens/add.png" runat="server"
                    TabIndex="18" onclick="ibtnEditar_Click"  />
                <asp:UpdateProgress ID="UpdateProgress1" runat="server">
                    <ProgressTemplate>
                        <asp:Image ID="imgLoading" ImageUrl="~/imagens/ajax-loader.gif" runat="server" />
                        Carregando...
                    </ProgressTemplate>
                </asp:UpdateProgress>
            </td>
        </tr>
    </table>
    </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
